home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000320_news@newsmaster….columbia.edu _Tue Nov 25 05:26:18 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA11556
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 25 Nov 1997 05:26:17 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id FAA29162
  7.     for kermit.misc@watsun; Tue, 25 Nov 1997 05:26:16 -0500 (EST)
  8. Path: news.columbia.edu!news.new-york.net!solaris.cc.vt.edu!newsgate.duke.edu!nntprelay.mathworks.com!newsfeed.internetmci.com!207.5.0.44!nntp.mainstreet.net!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!dold.a2i!dold
  9. From: dold@94.usenet.us.com
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Help with scripting kermit
  12. Date: 25 Nov 1997 00:31:51 GMT
  13. Organization: a2i network
  14. Lines: 71
  15. Message-ID: <65d69n$9hh$1@samba.rahul.net>
  16. References: <64j0bn$7s9$1@clem.mscd.edu> <0$k2Rz1fk$EP@cc.usu.edu> <651tbe$4es$1@samba.rahul.net> <652qra$le$1@apakabar.cc.columbia.edu>
  17. Reply-To: dold@network.rahul.net
  18. NNTP-Posting-Host: foxtrot.rahul.net
  19. NNTP-Posting-User: dold
  20. X-Newsreader: TIN [version 1.2 PL2]
  21. X-Comment: Encoded From: line allows replies that preserve original subject
  22. Xref: news.columbia.edu comp.protocols.kermit.misc:8109
  23.  
  24. Clarence said:
  25. : : If I lower either the output pacing, or reduce the pause to 1, the switch
  26. : : can't keep up.  If I reduce the pause, even with the INPUT in place, the
  27. : : commands get garbled. If I reduce the output pacing, occasional characters
  28. : : get dropped.
  29.  
  30. Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
  31. : Well, those 2-second pauses probably add up to quite a long period in a
  32. : 14000-line script (1400 x 2 = 2800 seconds???).
  33.  
  34. Yup.  I think it took 36 hours to run the script.  Not handy, but it beats
  35. the transcription errors of doing it by hand ;-)
  36.  
  37. : Did you know that you don't have to pause for whole seconds?  There is
  38. : also an MPAUSE command (alias MSLEEP) that takes milliseconds, e.g.:
  39. :   msleep 1500
  40.  
  41. snicker.  I suppose shaving by a half second might be happy if I did
  42. this daily, but the failure isn't consistent.  I suppose it depends
  43. on the load on the host system, which is why flow control would be
  44. better.
  45.  
  46. : : I can't remember where I found the description for "output pacing".  I
  47. : : can't find it in the Using C-Kermit manual.
  48.  
  49. : Page 422.
  50.  
  51. Wrong version, I guess.  Pg 422 of mine is the middle of some OS/2 stuff in
  52. Appendix V.
  53.  
  54. : : In Unix, the cu dialer has a feature called "echo check", where each
  55. : : character is held until the previous character has been echoed back
  56. : : correctly.  Is such a pacing option available in C-Kermit?
  57.  
  58. : Not built into the OUTPUT command.  But of course you can do it yourself:
  59.  
  60. :   output blah\13
  61. :   input 10 blah          ; soak up the echo
  62. :   if fail <do something>
  63.  
  64. That might put me up to 100,000 lines of script, but if it works, and the
  65. speedup is substantial, I'd do it.
  66. Wait a minute...  blah\13 isn't what I'm after.
  67.  
  68. Instead of
  69.     output 12345\13
  70.     input 20 ACP
  71. what I need is a loop of 
  72.     output 1
  73.     input 10 1
  74.     output 2
  75.     input 10 2
  76.     output 3
  77.     input 10 3
  78.     output 4
  79.     input 10 4
  80.     output 5
  81.     input 10 5
  82.     output \13
  83.     input 10 \13
  84.  
  85.  
  86. Maybe the use of ESIX SVR4, and an Equinox multi-port serial adapter is
  87. conspiring against me.  I had assumed it was the slow legacy system...
  88. Maybe I should try an MS-Kermit script against the telephone switch
  89. directly from some handy PC.
  90. I have another pretty large script coming up soon.
  91. -- 
  92. ---
  93. Clarence A Dold - dold@network.rahul.net
  94.                 - Pope Valley & Napa CA.